// VolumeGenerator.h: interface for the VolumeGenerator class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_VOLUMEGENERATOR_H__83AFCC7C_D0F7_4483_926B_846F5AD4383E__INCLUDED_)
#define AFX_VOLUMEGENERATOR_H__83AFCC7C_D0F7_4483_926B_846F5AD4383E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Volume.h"
#include "singleton.h"
#include "RecordsetPtrWrap.h"

using namespace DAWrapper;
namespace VersionControl
{
	class DllExport VolumeGenerator : public ProjectSubObject 
	{
		DECLARE_SINGLETON(VolumeGenerator)
	public:
		VolumeGenerator();
		virtual ~VolumeGenerator();
		
	public:
		Volume* Generate();
		Volume* Generate(RecordsetPtrWrap& rs);
	};
}
using namespace VersionControl;
DllExport VersionControl::VolumeGenerator& GetVolumeGenerator();
#endif // !defined(AFX_VOLUMEGENERATOR_H__83AFCC7C_D0F7_4483_926B_846F5AD4383E__INCLUDED_)
